Package com.cisco.pt.ipc.sim.pdu.impl
Class WirelessHeaderImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
com.cisco.pt.ipc.sim.pdu.impl.WirelessHeaderImpl
- All Implemented Interfaces:
IPCData,Header,Pdu,Signal,WirelessHeader
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected Shortprotected Shortprotected Shortprotected MACAddressprotected MACAddressprotected MACAddressprotected MACAddressprotected Shortprotected StringFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
payloadFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) intgetCrc()getFieldType(String fieldName) getId()voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetCrc(int crc) voidsetDuration(Short duration) voidsetFrameControl(Short frameControl) voidvoidsetMacAddress1(MACAddress macAddress1) voidsetMacAddress2(MACAddress macAddress2) voidsetMacAddress3(MACAddress macAddress3) voidsetMacAddress4(MACAddress macAddress4) voidsetSequenceControl(Short sequenceControl) voidsetTransportSsid(String transportSsid) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.HeaderImpl
getPayload, setPayloadMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Header
getPayload, setPayloadMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
frameControl
-
duration
-
id
-
macAddress1
-
macAddress2
-
macAddress3
-
sequenceControl
-
macAddress4
-
crc
protected int crc -
transportSsid
-
-
Constructor Details
-
WirelessHeaderImpl
public WirelessHeaderImpl()
-
-
Method Details
-
getFrameControl
- Specified by:
getFrameControlin interfaceWirelessHeader- Returns:
- Short Returns a Short
-
setFrameControl
- Specified by:
setFrameControlin interfaceWirelessHeader- Parameters:
frameControl- Takes in a parameter of frameControl
-
getDuration
- Specified by:
getDurationin interfaceWirelessHeader- Returns:
- Short Returns a Short
-
setDuration
- Specified by:
setDurationin interfaceWirelessHeader- Parameters:
duration- Takes in a parameter of duration
-
getId
- Specified by:
getIdin interfaceWirelessHeader- Returns:
- Short Returns a Short
-
setId
- Specified by:
setIdin interfaceWirelessHeader- Parameters:
id- Takes in a parameter of id
-
getMacAddress1
- Specified by:
getMacAddress1in interfaceWirelessHeader- Returns:
- MACAddress Returns a MACAddress
-
setMacAddress1
- Specified by:
setMacAddress1in interfaceWirelessHeader- Parameters:
macAddress1- Takes in a parameter of macAddress1
-
getMacAddress2
- Specified by:
getMacAddress2in interfaceWirelessHeader- Returns:
- MACAddress Returns a MACAddress
-
setMacAddress2
- Specified by:
setMacAddress2in interfaceWirelessHeader- Parameters:
macAddress2- Takes in a parameter of macAddress2
-
getMacAddress3
- Specified by:
getMacAddress3in interfaceWirelessHeader- Returns:
- MACAddress Returns a MACAddress
-
setMacAddress3
- Specified by:
setMacAddress3in interfaceWirelessHeader- Parameters:
macAddress3- Takes in a parameter of macAddress3
-
getSequenceControl
- Specified by:
getSequenceControlin interfaceWirelessHeader- Returns:
- Short Returns a Short
-
setSequenceControl
- Specified by:
setSequenceControlin interfaceWirelessHeader- Parameters:
sequenceControl- Takes in a parameter of sequenceControl
-
getMacAddress4
- Specified by:
getMacAddress4in interfaceWirelessHeader- Returns:
- MACAddress Returns a MACAddress
-
setMacAddress4
- Specified by:
setMacAddress4in interfaceWirelessHeader- Parameters:
macAddress4- Takes in a parameter of macAddress4
-
getCrc
public int getCrc()- Specified by:
getCrcin interfaceWirelessHeader- Returns:
- int Returns a int
-
setCrc
public void setCrc(int crc) - Specified by:
setCrcin interfaceWirelessHeader- Parameters:
crc- Takes in a parameter of crc
-
getTransportSsid
- Specified by:
getTransportSsidin interfaceWirelessHeader- Returns:
- String Returns a String
-
setTransportSsid
- Specified by:
setTransportSsidin interfaceWirelessHeader- Parameters:
transportSsid- Takes in a parameter of transportSsid
-
getFieldType
- Overrides:
getFieldTypein classHeaderImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classHeaderImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classHeaderImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classHeaderImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classHeaderImpl
-